//
//  LeadFirstCollectionViewCell.m
//  
//
//  Created by dllo on 15/10/19.
//
//

#import "LeadFirstCollectionViewCell.h"

@interface LeadFirstCollectionViewCell ()

@property (nonatomic, retain) UIImageView *imageV;
@property (nonatomic, retain) UILabel *numL;


@end

@implementation LeadFirstCollectionViewCell



- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}

- (void)createSubviews
{
    self.imageV = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
    [self.contentView addSubview:self.imageV];
    
    
    self.numL = [[UILabel alloc] initWithFrame:CGRectMake(120 * WIDTH, 30 * HEIGHT, 150 * WIDTH, 150 * HEIGHT)];
//    self.numL.backgroundColor = [UIColor redColor];
    self.numL.textAlignment = NSTextAlignmentCenter;
    self.numL.font = [UIFont systemFontOfSize:100 * WIDTH];
    [self.contentView addSubview:self.numL];
    
    
}

- (void)setValue
{
    self.imageV.image = [UIImage imageNamed:self.photoStr];
    self.numL.text = self.numStr;
}




@end
